package com.mybatis.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.UpdateProvider;


public interface GuidepostDao {
	
	@Select("select * from guidepost")
	List<Map<String, Object>> selectAll();
	
	@UpdateProvider(type=GuidepostSqlProvider.class, method="updateStep")
	void updateStep(Map<String, Integer> map);
	
	@UpdateProvider(type=GuidepostSqlProvider.class, method="updateSlamPoint")//更新数据
	void updateSlamPoint(Map<String, Integer> map);	
	
	@InsertProvider(type=GuidepostSqlProvider.class, method="insertSlamPoint")//批量插入数据
	void insertSlamPoint(Map<String, Integer> map);
	
}
